<?php

class AlunoResultSet {
	
	/**
	 * @var AbstractAlunoDAO
	 */
	private $alunoDAO;
	
	public function __construct($AlunoDAO){
		$this->alunoDAO = $AlunoDAO;
	}
	
	public function getNext(){
		return $this->alunoDAO->proximoAluno();
	}
}

?>